Testing of homologous recombination deficiency